#@layout("会员账单")
#define main()
<body class="timo-layout-page">
    <div class="layui-card">
        <div class="layui-card-header timo-card-header">
            <span><i class="fa fa-bars"></i>会员账单</span>
            <i class="layui-icon layui-icon-refresh refresh-btn"></i>
        </div>
        <div class="layui-card-body">
            <div class="layui-row timo-card-screen">
                <div class="pull-left layui-form-pane timo-search-box">
                	<div class="layui-inline">
                        <label class="layui-form-label">账户类型</label>
                        <div class="layui-input-block timo-search-status">
                            <select class="timo-search-select" name="account.accType" >
                            	<option value="">选择</option>
                            	#for(item : joyDict.getDictList('account_acc_type'))
                            	<option value="#(item.dictValue)" #if(account.accType!=null && item.dictValue==(account.accType.toString())) selected="selected" #end >#(item.dictName)</option>
                            	#end
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">openId</label>
                        <div class="layui-input-block">
                            <input type="text" name="account.openid" value="#(account.openid ??)" placeholder="请输入openid" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">用户呢称</label>
                        <div class="layui-input-block">
                            <input type="text" name="account.nickName" value="#(account.nickName ??)" placeholder="请输入用户呢称" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <button class="layui-btn timo-search-btn">
                            <i class="fa fa-search"></i>
                        </button>
                    </div>
                </div>
            </div>
            <table class="layui-table timo-table">
                <thead>
                <tr>
                    <th class="timo-table-checkbox">
                        <label class="timo-checkbox"><input type="checkbox"><i class="layui-icon layui-icon-ok"></i></label>
                    </th>
                    <th>openid</th>
                    <th>用户昵称</th>
                    <th>账户类型</th>
                    <th>总金额</th>
                    <th>冻结金额</th>
                    <th>可用金额</th>
                    <th>创建时间</th>
                    <th>修改时间</th>
                </tr>
                </thead>
                <tbody>
                #for(item : page.list)
                <tr>
                    <td><label class="timo-checkbox"><input type="checkbox" value="#(item.id)"><i class="layui-icon layui-icon-ok"></i></label></td>
                    <td>#(item.openid)</td>
                    <td>#(item.nickName)</td>
                    <td>#(joyDict.getDictLabel(item.accType.toString(),'account_acc_type','未知'))</td>
                    <td>#number(item.totalAmt,"#.###")</td>
                    <td>#number(item.frzAmt,"#.###")</td>
                    <td>#number(item.avbAmt,"#.###")</td>
                    <td>#date(item.createTime, "yyyy-MM-dd HH:mm:ss")</td>
                    <td>#date(item.updateTime, "yyyy-MM-dd HH:mm:ss")</td>
                </tr>
                #end
                </tbody>
            </table>
            <!-- page -->
            #include("../../common/page.html", url=pageUrl)
            <!-- page end -->
        </div>
    </div>
</body>
#end